﻿using System.Collections.Generic;

namespace SpLocalizer.Common.Extensions
{
    public static class CollectionExtensions
    {
        public static bool IsNullOrEmpty<T>(this ICollection<T> value)
        {
            return value.IsNull() || value.Count == 0;
        }
    }
}